.inset-0 {
  width: 100%;
  height: 100%;
}

.tut {
  background: var(--primary-clr);
  padding: 3px 10px;
  position: relative;
  top: -7px;
  color: white;
  right: 4px;
  cursor: pointer;
  transition: all 300ms;
}
.tut:hover {
  background: white;
  color: black;
}

.popup1,
.msgr-popup {
  z-index: var(--z-index-3);
  background: #031216ed;
  opacity: 0;
  pointer-events: none;
  transition: all 300ms;
}

.popup1 *,
.msgr-popup * {
  pointer-events: none;
}

.popup1.active *,
.msgr-popup.active * {
  pointer-events: all;
}

.popup1.active,
.msgr-popup.active {
  opacity: 1;
  pointer-events: all;
  transition: all 300ms 300ms;
}
.popup_screen {
  height: 300px;
  width: 700px;
  pointer-events: none;
}
.popup_screen.active {
  pointer-events: all;
}
.popup_screen.active .pic.active {
  /* transform: scale(1) translateY(-119px) translateX(-153px); */
  transform: scale(1) translateY(-200px) translateX(-153px);
  opacity: 1;
  transition: all 250ms 250ms;
}

@media screen and (max-width: 1440px) {
  .popup_screen.active .pic.active {
    transform: scale(1) translateY(-150px) translateX(-153px);
  }
}
.popup_screen.passage .pic.active {
  transform: scale(1) translateY(100px) translateX(620px);
}

.popup_screen.active .content {
  opacity: 1;
  transform: scale(1);
  transition: all 250ms 300ms;
}
.popup_screen .pic {
  width: 400px;
  background: #060606;
  opacity: 0;
  box-shadow: 0 0 0 4px white;
  height: 400px;
  position: absolute;
  transition: all 250ms 50ms;
  z-index: 1;
  transform: scale(0) translateY(-119px) translateX(-153px);
}

.popup_screen .content {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 84%, 92% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 92% 100%, 0 100%);
  opacity: 0;
  background: var(--content-clr);
  padding: 60px 60px 60px 280px;
  transition: all 250ms 0ms;
  transform: scale(0);
  color: white;
  display: flex;
  flex-direction: column !important;
}
.popup_screen .content h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.popup_screen .content p {
  font-size: 16px;
  line-height: 1.5;
}

.episodeSelector {
  padding-bottom: 20px;
  width: 327px;
  border-bottom: 2px solid var(--shade);
}

.difficulty {
  background: var(--darker-clr);
  font-size: 16px;
  padding: 6px 10px;
  width: 33.33%;
  opacity: 0.5;
  transition: all 200ms;
  cursor: pointer;
}
.difficulty:hover {
  opacity: 1;
}
.difficulty.active {
  background: var(--primary-clr);
  color: var(--secondary-clr);
  opacity: 1;
}

.bought {
  background: var(--primary-dark-2) d9;
  padding: 10px;
  color: #ffffff;
  width: 90%;
  left: 7px;
  font-weight: bold;
  padding: 89px 10px;
  border-radius: 10px;
  top: 50%;
  font-size: 18px;
  text-align: center;
  transform: translateY(-50%);
}

.text-blue {
  color: var(--secondary-clr);
}

.text-pink {
  color: #e82755;
}
.text-primary {
  color: #e84a4a;
}

.text-brightBlue {
  color: #00d1ff;
}

.text-green {
  color: #00ffc2;
}

.bg-grey {
  background: #102b32;
}

.bg-green {
  background: var(--primary-clr);
}

.text-description {
  color: #91c2ce;
  font-size: 13px;
  line-height: 16px !important;
}

.bg-blue {
  background: var(--secondary-clr);
}

.text-lightblue {
  color: #092830;
}

.text-lightgrey {
  color: #35464a;
}

.text-lime {
  color: #e5ff44;
}

.line-height-small {
  line-height: 16px;
}

.card--hacker {
  background-image: url("https://assets.codepen.io/217233/hack--hackercardback.png");
  pointer-events: none;
}
.card--firewall {
  background-image: url("https://assets.codepen.io/217233/hack--cardbackempty.png");
}
.card--firewall--active {
  background-image: url("https://assets.codepen.io/217233/hack--firewallcardback_1.png");
  -webkit-animation: pump 200ms forwards;
  animation: pump 200ms forwards;
}
.card--defensive {
  background-image: url("https://assets.codepen.io/217233/hack--firewallcardback_1.png");
}
.card--enemy {
  background-image: url("https://assets.codepen.io/217233/hack--enemycardback.png");
}
.card--format {
  background-image: url("https://assets.codepen.io/217233/hack--formatcardback.png");
}
.card--node {
  background-image: url("https://assets.codepen.io/217233/hack--datacardback.png");
}
.card--mine,
.card--healing,
.card--undefined {
  background-image: url("https://assets.codepen.io/217233/hack--genericcardback.png");
}
.card--offensive {
  background-image: url("https://assets.codepen.io/217233/hack--offensivecardback.png");
}
.card--relic {
  background-image: url("https://assets.codepen.io/217233/hack--upgradecardback.png");
}

.animationWrap.damaged {
  -webkit-animation: shake 200ms forwards;
  animation: shake 200ms forwards;
}

.shake {
  -webkit-animation: shake 200ms forwards;
  animation: shake 200ms forwards;
}

.trimWrap {
  left: -67px;
  top: -44px;
}

@-webkit-keyframes pump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(0);
  }
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(0);
  }
}
@-webkit-keyframes arrow {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes arrow {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.eject {
  transition: all 200ms;
}
.eject:hover {
  bottom: 8px;
}

@-webkit-keyframes move {
  0% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(100px) translateY(100px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes move {
  0% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(100px) translateY(100px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}
@-webkit-keyframes in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.15;
  }
}
@keyframes in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.15;
  }
}
.hex--pattern {
  opacity: 0;
  right: -2700px;
  top: -900px;
  transition: all 1400ms cubic-bezier(0.58, 0, 0.07, 1.01);
  width: 3974.17px;
  -webkit-animation: in 2s 400ms forwards;
  animation: in 2s 400ms forwards;
}
.hex--pattern.notBlurred {
  pointer-events: none;
  filter: blur(0px);
}
.hex--pattern img {
  max-width: auto;
  -webkit-animation: move 24s linear infinite;
  animation: move 24s linear infinite;
}
.hex--pattern.active {
  right: 800px;
  top: -400px;
}

.eq {
  width: 2px;
  height: 10px;
  margin: 0 1px;
  transform: scaleY(0.1);
  transform-origin: 0 100%;
}
.eq.active:nth-of-type(1) {
  -webkit-animation: eq 1s 0.2s infinite;
  animation: eq 1s 0.2s infinite;
}
.eq.active:nth-of-type(2) {
  -webkit-animation: eq 1s 0.4s infinite;
  animation: eq 1s 0.4s infinite;
}
.eq.active:nth-of-type(3) {
  -webkit-animation: eq 1s 0.6s infinite;
  animation: eq 1s 0.6s infinite;
}
.eq.active:nth-of-type(4) {
  -webkit-animation: eq 1s 0.8s infinite;
  animation: eq 1s 0.8s infinite;
}

@-webkit-keyframes eq {
  0% {
    transform: scaleY(0.2);
  }
  25% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.4);
  }
  75% {
    transform: scaleY(0.7);
  }
  100% {
    transform: scaleY(0.2);
  }
}

@keyframes eq {
  0% {
    transform: scaleY(0.2);
  }
  25% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.4);
  }
  75% {
    transform: scaleY(0.7);
  }
  100% {
    transform: scaleY(0.2);
  }
}
.introWrapper.active {
  pointer-events: none !important;
}
.introWrapper.active div {
  pointer-events: none !important;
}

@-webkit-keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.limitWarning {
  color: #e82755;
  font-size: 16px;
  background: #e8275526;
  padding: 10px 30px;
  -webkit-animation: flashit 2s infinite;
  animation: flashit 2s infinite;
  opacity: 1;
  line-height: 16px;
}

.limitWarningTimed {
  color: #e82755;
  font-size: 16px;
  -webkit-animation: flashit 2s 3;
  animation: flashit 2s 3;
  opacity: 1;
}

@-webkit-keyframes flashit {
  5% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  15% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes flashit {
  5% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  15% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
.arrows {
  transform: scaleX(-1);
}

.arrows img {
  max-width: 30px;
  opacity: 0.06;
}
.arrows--three img:nth-of-type(3) {
  -webkit-animation: arrow 1s 0.0833333333s infinite;
  animation: arrow 1s 0.0833333333s infinite;
}
.arrows--three img:nth-of-type(2) {
  -webkit-animation: arrow 1s 0.1666666667s infinite;
  animation: arrow 1s 0.1666666667s infinite;
}
.arrows--three img:nth-of-type(1) {
  -webkit-animation: arrow 1s 0.25s infinite;
  animation: arrow 1s 0.25s infinite;
}
.arrows--five img:nth-of-type(5) {
  -webkit-animation: arrow 1s 0.0833333333s infinite;
  animation: arrow 1s 0.0833333333s infinite;
}
.arrows--five img:nth-of-type(4) {
  -webkit-animation: arrow 1s 0.1666666667s infinite;
  animation: arrow 1s 0.1666666667s infinite;
}
.arrows--five img:nth-of-type(3) {
  -webkit-animation: arrow 1s 0.25s infinite;
  animation: arrow 1s 0.25s infinite;
}
.arrows--five img:nth-of-type(2) {
  -webkit-animation: arrow 1s 0.3333333333s infinite;
  animation: arrow 1s 0.3333333333s infinite;
}
.arrows--five img:nth-of-type(1) {
  -webkit-animation: arrow 1s 0.4166666667s infinite;
  animation: arrow 1s 0.4166666667s infinite;
}
.arrows--five img:nth-of-type(0) {
  -webkit-animation: arrow 1s 0.5s infinite;
  animation: arrow 1s 0.5s infinite;
}
.arrows--five img:nth-of-type(-1) {
  -webkit-animation: arrow 1s 0.5833333333s infinite;
  animation: arrow 1s 0.5833333333s infinite;
}
.arrows--five img:nth-of-type(-2) {
  -webkit-animation: arrow 1s 0.6666666667s infinite;
  animation: arrow 1s 0.6666666667s infinite;
}
.arrows--five img:nth-of-type(-3) {
  -webkit-animation: arrow 1s 0.75s infinite;
  animation: arrow 1s 0.75s infinite;
}
.arrows--five img:nth-of-type(-4) {
  -webkit-animation: arrow 1s 0.8333333333s infinite;
  animation: arrow 1s 0.8333333333s infinite;
}
.arrows--five img:nth-of-type(-5) {
  -webkit-animation: arrow 1s 0.9166666667s infinite;
  animation: arrow 1s 0.9166666667s infinite;
}
.arrows--five img:nth-of-type(-6) {
  -webkit-animation: arrow 1s 1s infinite;
  animation: arrow 1s 1s infinite;
}
.arrows--five img:nth-of-type(-7) {
  -webkit-animation: arrow 1s 1.0833333333s infinite;
  animation: arrow 1s 1.0833333333s infinite;
}
.arrows--five img:nth-of-type(-8) {
  -webkit-animation: arrow 1s 1.1666666667s infinite;
  animation: arrow 1s 1.1666666667s infinite;
}
.arrows--five img:nth-of-type(-9) {
  -webkit-animation: arrow 1s 1.25s infinite;
  animation: arrow 1s 1.25s infinite;
}
.arrows--five img:nth-of-type(-10) {
  -webkit-animation: arrow 1s 1.3333333333s infinite;
  animation: arrow 1s 1.3333333333s infinite;
}
.arrows--five img:nth-of-type(-11) {
  -webkit-animation: arrow 1s 1.4166666667s infinite;
  animation: arrow 1s 1.4166666667s infinite;
}
.arrows--five img:nth-of-type(-12) {
  -webkit-animation: arrow 1s 1.5s infinite;
  animation: arrow 1s 1.5s infinite;
}
.arrows--five img:nth-of-type(-13) {
  -webkit-animation: arrow 1s 1.5833333333s infinite;
  animation: arrow 1s 1.5833333333s infinite;
}
.arrows--five img:nth-of-type(-14) {
  -webkit-animation: arrow 1s 1.6666666667s infinite;
  animation: arrow 1s 1.6666666667s infinite;
}
.arrows--five img:nth-of-type(-15) {
  -webkit-animation: arrow 1s 1.75s infinite;
  animation: arrow 1s 1.75s infinite;
}
.arrows--five img:nth-of-type(-16) {
  -webkit-animation: arrow 1s 1.8333333333s infinite;
  animation: arrow 1s 1.8333333333s infinite;
}
.arrows--five img:nth-of-type(-17) {
  -webkit-animation: arrow 1s 1.9166666667s infinite;
  animation: arrow 1s 1.9166666667s infinite;
}
.arrows--five img:nth-of-type(-18) {
  -webkit-animation: arrow 1s 2s infinite;
  animation: arrow 1s 2s infinite;
}
.arrows--five img:nth-of-type(-19) {
  -webkit-animation: arrow 1s 2.0833333333s infinite;
  animation: arrow 1s 2.0833333333s infinite;
}
.arrows--five img:nth-of-type(-20) {
  -webkit-animation: arrow 1s 2.1666666667s infinite;
  animation: arrow 1s 2.1666666667s infinite;
}
.arrows--five img:nth-of-type(-21) {
  -webkit-animation: arrow 1s 2.25s infinite;
  animation: arrow 1s 2.25s infinite;
}
.arrows--five img:nth-of-type(-22) {
  -webkit-animation: arrow 1s 2.3333333333s infinite;
  animation: arrow 1s 2.3333333333s infinite;
}
.arrows--five img:nth-of-type(-23) {
  -webkit-animation: arrow 1s 2.4166666667s infinite;
  animation: arrow 1s 2.4166666667s infinite;
}
.arrows--five img:nth-of-type(-24) {
  -webkit-animation: arrow 1s 2.5s infinite;
  animation: arrow 1s 2.5s infinite;
}
.arrows--five img:nth-of-type(-25) {
  -webkit-animation: arrow 1s 2.5833333333s infinite;
  animation: arrow 1s 2.5833333333s infinite;
}
.arrows--five img:nth-of-type(-26) {
  -webkit-animation: arrow 1s 2.6666666667s infinite;
  animation: arrow 1s 2.6666666667s infinite;
}
.arrows--five img:nth-of-type(-27) {
  -webkit-animation: arrow 1s 2.75s infinite;
  animation: arrow 1s 2.75s infinite;
}
.arrows--five img:nth-of-type(-28) {
  -webkit-animation: arrow 1s 2.8333333333s infinite;
  animation: arrow 1s 2.8333333333s infinite;
}
.arrows--five img:nth-of-type(-29) {
  -webkit-animation: arrow 1s 2.9166666667s infinite;
  animation: arrow 1s 2.9166666667s infinite;
}

.game_shop__cards .slot,
.game_roulette .slot {
  transition: all 200ms !important;
}
.game_shop__cards .slot:hover,
.game_roulette .slot:hover {
  transform: translateY(-10px);
}

.game_enumerate,
.game_gameOverman,
.game_winner {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  z-index: var(--z-index-5);
  top: 0;
  left: 0;
  width: 100%;
  background: #041b20f2;
  transition: all 300ms;
}
.game_enumerate.active,
.game_gameOverman.active,
.game_winner.active {
  opacity: 1;
  pointer-events: all;
}

.game_gameOverman,
.game_winner {
  background: #041b20;
  transition: all 1000ms 1000ms;
}
.game_gameOverman.active,
.game_winner.active {
  transition: all 400ms;
}

.game_intro {
  opacity: 0;
  transition: opacity 1000ms;
  background: var(--secondary-clr);
  pointer-events: none;
}
.game_intro.active {
  opacity: 1;
  pointer-events: all;
}
.game_intro h3.active {
  -webkit-animation: flash 500ms forwards;
  animation: flash 500ms forwards;
}
@-webkit-keyframes flash {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes flash {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

.game_intro__saveScreen {
  transition: transform 600ms 0ms cubic-bezier(0.55, 0.01, 0.01, 0.97);
  position: absolute;
  transform: translateX(100%);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--dark-clr);
}
.game_intro__saveScreen.active {
  transition: transform 600ms 250ms cubic-bezier(0.55, 0.01, 0.01, 0.97);
  transform: translateX(0%);
}
.game_intro__saveScreen.active .inner {
  opacity: 1;
  transition: all 600ms 600ms;
}
.game_intro__saveScreen .inner {
  max-width: 1250px;
  margin: auto;
  padding: 30px;
}
.game_intro__saveScreen .inner ::-webkit-scrollbar {
  width: 3px;
}
.game_intro__saveScreen .inner ::-webkit-scrollbar-track {
  background: #0d2329;
}
.game_intro__saveScreen .inner ::-webkit-scrollbar-thumb {
  background-color: var(--primary-clr-2);
}
.game_intro__saveScreen .inner .grid {
  /* height: calc(var(--screenHeight) - 392px); */
  height: calc(var(--screenHeight) - 258px);
  /* considering the padding of .inner */
  /* margin-bottom: 24px; */
}

.ach {
  transition: all 100ms;
  cursor: pointer;
}
.ach:hover {
  opacity: 1;
}

.game_intro__newGame {
  width: 0;
  transition: all 600ms 600ms;
}
.game_intro__newGame .inner {
  opacity: 0;
  padding: 90px 0 90px 90px;
  border-left: 2px solid var(--shade);
  transition: width 600ms 0ms, opacity 600ms 0ms, margin 1ms 600ms;
}
.game_intro__newGame.active {
  width: 500px;
  transition: all 600ms 250ms;
}
.game_intro__newGame.active .inner {
  margin-left: 90px;
  opacity: 1;
  transition: opacity 600ms 600ms, width 600ms 600ms;
}
.game_intro__newGame input {
  color: var(--primary-clr);
  background: var(--dark-clr);
  padding: 8px 17px 8px 47px;
  font-size: 20px;
  outline: none;
  margin-top: 4px;
}
.game_intro__newGame button.random {
  transition: all 200ms;
}
.game_intro__newGame button.random:hover {
  transform: rotate(180deg);
}
.game_intro__newGame .net {
  top: 16px;
  width: auto;
  height: 22px;
}

button {
  line-height: 32px;
}

button.polygon {
  color: var(--secondary-clr);
  background: white;
  padding: 6px 30px;
  width: fit-content;
  font-size: 18px;
  margin-top: 20px;
  transition: all 200ms;
  font-weight: 500;
  -webkit-clip-path: polygon(18% 0, 100% 0, 100% 67%, 84% 100%, 0 100%, 0 35%);
  clip-path: polygon(18% 0, 100% 0, 100% 67%, 84% 100%, 0 100%, 0 35%);
}
button.polygon:hover {
  background: var(--primary-clr);
}

button.skip {
  -webkit-clip-path: polygon(14% 0, 100% 0, 100% 70%, 86% 100%, 0 100%, 0 33%);
  clip-path: polygon(14% 0, 100% 0, 100% 70%, 86% 100%, 0 100%, 0 33%);
}

.backArrow {
  opacity: 0.2;
  transition: all 200ms;
  cursor: pointer;
  max-width: fit-content;
}
.backArrow:hover {
  opacity: 1;
}

.notification {
  background: #021114;
  padding: 23px 40px 20px 40px;
}
.notification h3 {
  text-transform: uppercase;
  font-size: 12px;
  /* color: var(--primary-clr-2); */
}
.notification__name {
  font-size: 22px;
}
.notification__description {
  font-size: 16px;
  color: #607a81;
  line-height: 18px;
}

.selection {
  transition: all 300ms;
  padding: 30px 30px;
  background: #05181c;
}
.selection:hover {
  background: var(--primary-clr);
}
.selection:hover h4,
.selection:hover p {
  color: var(--secondary-clr);
}
.selection:hover svg path {
  fill: var(--secondary-clr);
}

.centerMessage {
  background: var(--primary-dark-2);
  padding: 0px 60px;
  margin: 30px 0;
}

.menu h3,
.menu a,
.game_gameOver h3,
.game_gameOver a,
.game_gameOverman h3,
.game_gameOverman a,
.game_winner h3,
.game_winner a {
  cursor: pointer;
  transition: all 150ms;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 20px;
  display: block;
}
.menu h3:hover,
.menu a:hover,
.game_gameOver h3:hover,
.game_gameOver a:hover,
.game_gameOverman h3:hover,
.game_gameOverman a:hover,
.game_winner h3:hover,
.game_winner a:hover {
  background: var(--primary-clr);
  color: var(--secondary-clr);
}
.menu a,
.game_gameOver a,
.game_gameOverman a,
.game_winner a {
  padding: 0;
}

.notification {
  transform: translateY(100%);
  transition: all 300ms;
}
.notification.active {
  transform: translateY(0%);
}

body {
  font-size: 14px;
  background: #060606;
  font-family: var(--font-3), sans-serif;
  overflow: hidden;
  -ms-interpolation-mode: nearest-neighbor;
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
  /* -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; */

  font-weight: 300;
}

body * {
  cursor: default;
}

a,
button {
  cursor: pointer;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p {
  line-height: 100% !important;
}

.sandbox {
  opacity: 0;
  transition: 500ms;
  pointer-events: none;
  margin-bottom: 40px;

  min-width: 1250px;
}

.sandbox.active {
  opacity: 1;
  pointer-events: all;
}

.gamePause {
  z-index: var(--z-index-1);
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.gamePause.active {
  pointer-events: all;
}

.screenCap {
  z-index: var(--z-index-3);
  width: 100%;
  height: 100%;
  background: var(--secondary-clr);
  display: none;
}
@media screen and (max-width: 1199px) {
  .screenCap.active {
    display: flex;
  }
}
@media screen and (max-height: 599px) {
  .screenCap.active {
    display: flex;
  }
}

@media screen and (orientation: landscape) {
  .screenCap.active {
    display: none;
  }
  
}

.unselectable,
.unselectable * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.selectable {
  user-select: initial !important;
  -webkit-user-select: initial !important;
  -ms-user-select: initial !important;
}

#renJSPic-ink-transition-container {
  inset: 0;
  transition: 300ms ease-in-out;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  position: fixed;
  pointer-events: none;
}

#renJSPic-ink-transition-container {
  bottom: var(--dialogueBoxHeight);
}

#renJSPic {
  height: var(--screenHeight);
  width: auto;
  transition: 300ms ease-in-out;
  max-width: fit-content;
  pointer-events: none;
}

#renJSPic.min {
  height: calc(var(--screenHeight) - var(--dialogueBoxHeight));
}

#renJSVid {
  height: var(--screenHeight);
  width: auto;
  transition: 300ms ease-in-out;
  max-width: fit-content;
  pointer-events: all;
}

#renJSVid.min {
  height: calc(var(--screenHeight) - var(--dialogueBoxHeight));
}

#renJSPic-ink-transition-container {
  width: fit-content !important;
  height: fit-content !important;
}

.game_textBox {
  position: absolute;
  display: flex;
  justify-content: center;
  height: var(--dialogueBoxHeight);
  z-index: var(--z-index-5);
  bottom: 0;
  left: 0;
  width: 100%;
  padding: clamp(0px, 5vh, 31.65px) 50px;
  background: var(--primary-dark-2);
  transform: translateY(0%);
  transition: transform 300ms, opacity 300ms 0s;
  opacity: 0;
}
.game_textBox.active {
  transition: transform 300ms, opacity 300ms 1s;
  opacity: 1;
}

.game_textBox .textBoxInner {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 100%;
  max-width: 950px;
}

.game_textBox .textBoxInner .text {
  color: white;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  text-align: left;
  height: 100%;
  width: 100%;
  overflow-y: auto;

  max-width: 800px;
}

.game_textBox .textBoxInner .charName {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  min-height: 24px;
}

.game_textBox .textBoxInner p {
  word-break: break;
}

.game_textBox .charPic {
  border-radius: 14px;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 1 / 1;
}
.game_textBox .charPic svg {
  height: 18px;
}
.game_textBox.min {
  transform: translateY(100%);
}

.count {
  background: var(--primary-clr);
  height: 24px;
  width: 38px;
  font-weight: 700;
  text-align: center;
  line-height: 25px;
  display: inline-block;
  color: var(--secondary-clr);
  border-radius: 100px;
  position: absolute;
  top: -31px;
  right: -26px;
}

.game_header {
  z-index: var(--z-index-5);
  position: relative;
  transition: all 600ms 600ms;
  transform: translateY(-200px);
  width: 100%;
  height: var(--headBarHeight);
}
.game_header.active {
  transform: translateY(0px);
}

.game {
  padding-left: 78px;
  padding-right: 78px;
}

.game_stage * {
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.game_stage {
  position: relative;
  height: 100%;

  /* height: calc(var(--screenHeight) - 92px - 8vh); */
  width: 100% !important;
  opacity: 0;
  transition: opacity 1s 1s;
  image-rendering: auto;
  margin: auto;
  /* margin-bottom: 8vh !important; */

  /* margin-top: var(--headBarHeight) !important;
  margin-left: 210px !important;
  margin-right: 210px !important; */
}

/* @media screen and (max-width: 1764px) {
  .game_stage {
    margin-right: 0 !important;
  }
}

@media screen and (max-width: 1476px) {
  .game_stage {
    margin-left: 0 !important;
  }
} */

.game_stage.active {
  opacity: 1;
}
.game .slot {
  width: 135px;
  height: 215px;
  transition: transform 600ms, opacity 600ms, width 150ms 100ms,
    margin 150ms 100ms;
}
.game .slot.inactive {
  transform: scale(0);
  opacity: 0;
  width: 0;
  margin-right: -16px;
}
.game .slot.inactive .back {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}
.game .slot.unrevealed {
  background: #2c2c2c;
  color: white;
}
.game .cardholder {
  transform: rotateY(0deg);
  transition: transform 0.4s 300ms, right 50ms 50ms;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.game .cardholder--inactive {
  transform: rotateY(180deg);
}
.game .card {
  height: 215px;
  width: 135px;
  border-radius: 6px;
  cursor: pointer;
  background-size: cover;
  color: white;
}
.game .card.trash {
  background-image: url(https://assets.codepen.io/217233/cardBackTrash.png);
  pointer-events: none;
}
.game .card.back {
  background-image: url(https://assets.codepen.io/217233/hack--cardback.png);
  transform: rotateY(0deg);
  transition: transform 0.4s 300ms;
  pointer-events: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.game .card.back.inactive {
  transform: rotateY(180deg);
}
.game .damageNumber {
  -webkit-animation: damageNumber 350ms forwards;
  animation: damageNumber 350ms forwards;
}
@-webkit-keyframes damageNumber {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(-50px);
  }
}
@keyframes damageNumber {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(-50px);
  }
}

.gsc_player__character,
.cardholder {
  transition: all 50ms;
}

.textBoxNotifCount {
  background: var(--primary-clr);
  height: 24px;
  width: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 25px;
  display: inline-block;
  color: var(--secondary-clr);
  border-radius: 100px;
  position: relative;
  top: -1px;
  left: 2px;
}

.game_minimize,
.textBox_minimize {
  width: 220px;
  background: var(--primary-dark-2);
  padding: 20px 0;
  text-align: center;
  cursor: pointer;
  margin-top: 40px;
  transition: all 300ms;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(100%);
  -webkit-clip-path: polygon(0% 0, 100% 0, 100% 67%, 91% 100%, 0 100%, 0 35%);
  clip-path: polygon(0% 0, 100% 0, 100% 67%, 91% 100%, 0 100%, 0 35%);
}
.game_minimize:hover,
.textBox_minimize:hover {
  color: var(--primary-clr);
}

.textBox_minimize {
  bottom: auto;
  top: -106.09px;
  left: 0;
  width: 160px;
  right: auto;
  margin: auto;
  -webkit-clip-path: polygon(90% 0, 100% 21%, 100% 100%, 0 100%, 0 0);
  clip-path: polygon(90% 0, 100% 21%, 100% 100%, 0 100%, 0 0);
}

@-webkit-keyframes pulseProgress {
  from {
    box-shadow: 0 0 0 0px var(--primary-clr);
  }
  to {
    box-shadow: 0 0 0 5px rgba(0, 255, 194, 0);
  }
}

@keyframes pulseProgress {
  from {
    box-shadow: 0 0 0 0px var(--primary-clr);
  }
  to {
    box-shadow: 0 0 0 5px rgba(0, 255, 194, 0);
  }
}
.gsc_field {
  min-width: 500px;
}

.progress {
  margin-right: 1px;
}
.progress.active {
  background: var(--primary-clr);
  -webkit-animation: pulseProgress 1s infinite;
  animation: pulseProgress 1s infinite;
}
.progress.active svg path {
  fill: var(--secondary-clr);
}
.progress.inactive {
  background: transparent;
  border: 2px solid #053935;
}
.progress.complete {
  background: var(--primary-clr) 26;
}

.game_shop,
.game_roulette {
  background: var(--primary-dark-2);
  padding: 60px 0 60px 0;
  transform: translateY(-120%);
  transition: all 300ms;
  z-index: 2000;
  height: 100%;
}
.game_shop button.polygon,
.game_roulette button.polygon {
  -webkit-clip-path: polygon(8% 0, 100% 0, 100% 70%, 92% 100%, 0 100%, 0 33%);
  clip-path: polygon(8% 0, 100% 0, 100% 70%, 92% 100%, 0 100%, 0 33%);
}
.game_shop.active,
.game_roulette.active {
  transform: translateY(0%);
}
.game_shop.min,
.game_roulette.min {
  transform: translateY(calc(-100% + 107px));
}
.game_shop.min button,
.game_roulette.min button {
  display: none;
}

.game_roulette {
  padding: 60px 0 110px 0;
}

.gameInit {
  opacity: 0;
  pointer-events: none;
}
.gameInit .flash {
  z-index: var(--z-index-5);
  pointer-events: none;
}
.gameInit .menu,
.gameInit .author,
.gameInit .flash {
  opacity: 0;
  transition: all 1000ms 2200ms;
}
.gameInit .author {
  transition: all 1000ms 2000ms;
}
.gameInit .logo {
  transform: scale(10);
  transition: all 100ms 900ms;
}
.gameInit .logo img {
  opacity: 0;
  transition: all 200ms 900ms;
}
.gameInit.active {
  pointer-events: all;
  opacity: 1;
}
.gameInit.active .menu,
.gameInit.active .author {
  opacity: 1;
}
.gameInit.active .flash {
  -webkit-animation: introFlash 200ms 1000ms forwards;
  animation: introFlash 200ms 1000ms forwards;
}
.gameInit.active .logo {
  transform: scale(1);
}
.gameInit.active .logo img {
  opacity: 1;
}

@-webkit-keyframes introFlash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes introFlash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.gamePreload {
  opacity: 0;
  transition: all 100ms;
  pointer-events: none;
  z-index: var(--z-index-2);
}
.gamePreload.active {
  pointer-events: all;
  opacity: 1;
}

div::-webkit-scrollbar {
  width: 3px;
}
div::-webkit-scrollbar-track {
  background: #0d2329;
}
div::-webkit-scrollbar-thumb {
  background-color: var(--primary-clr-2);
}

main::-webkit-scrollbar {
  width: 3px;
}
main::-webkit-scrollbar-track {
  background: #0d2329;
}
main::-webkit-scrollbar-thumb {
  background-color: var(--primary-clr-2);
}

.regularPassage.active .pic.active {
  /* transform: scale(1) translateY(-119px) translateX(-153px); */
  transform: scale(1) translateY(-200px) translateX(600px);
  opacity: 1;
  transition: all 250ms 250ms;
}

/* .regularPassage.passage .pic.active {
  transform: scale(1) translateY(100px) translateX(620px);
} */

.regularPassage.active .content {
  opacity: 1;
  transform: scale(1);
  transition: all 250ms 300ms;
}
.regularPassage .pic {
  width: 400px;
  opacity: 0;
  box-shadow: 0 0 0 4px white;
  height: 400px;
  position: absolute;
  transition: all 250ms 50ms;
  z-index: 1;
  transform: scale(0) translateY(-119px) translateX(-153px);
}

.regularPassage .popup_screen .pic {
  transform: scale(1) translateY(-100px) translateX(600px);
}

.regularPassage .pic.aspect3-2 {
  width: 400px;
  height: 600px;
  transform: scale(1) translateY(-100px) translateX(600px);
}

.portrait-center {
  max-width: 300px;
  margin: 16px auto 32px auto;
  display: block;
}

.portrait-right {
  max-width: 300px;
  float: right;
  margin: 16px 0 32px 28px;
}

.portrait-left {
  max-width: 300px;
  float: left;
  margin: 16px 28px 32px 0;
}

.icon {
  width: 28px;
  height: 28px;
  display: inline-block;
  margin-left: 3px;
  margin-bottom: 8px !important;
}

.icon2 {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin-left: 5px;
}

.regularPassage ul {
  list-style-type: circle;
  padding-left: 20px;
}

.regularPassage li {
  margin-bottom: 32px;
}

.blueFilter {
  background-color: #031216ed;
}

#ClickArea {
  position: fixed;
  width: 100%;
  height: 100%;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: 300ms;
}

#ClickArea.active {
  pointer-events: all;
  opacity: 1;
}

.footer {
  z-index: var(--z-index-6);
  opacity: 0;
  pointer-events: none;
}

.footer.active {
  opacity: 1;
  pointer-events: all;
}

.Header-Skipping {
  opacity: 0;
  pointer-events: none;
  background: #060606;
  padding: 10px;
  margin-right: 23px;
  color: #ffdd2a;
}

.Header-Skipping.active {
  opacity: 1;
  pointer-events: all;
}
